package com.example.hxds.bff.customer.feign;

import com.example.hxds.bff.customer.controller.form.EstimateOrderChargeForm;
import com.example.hxds.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * @program: hxds
 * @description: feign代理Rule-规则微服务的相关接口
 * @author: noah2021
 * @date: 2023-01-14 01:01
 **/
@FeignClient(value = "hxds-rule")
public interface RuleServiceApi {

    /**
     * 计算订单金额
     * @param form
     * @return
     */
    @PostMapping("/charge/estimateOrderCharge")
    public R estimateOrderCharge(EstimateOrderChargeForm form);
}
